package com.zhxi.common.exception;

public enum BizCodeEnume {
    UN_KNOW_EXCEPTION(10000, "系统未知异常！"),
    VAILD_EXCEPTION(10001, "数据校验出现错误！");

    private int code;
    private String message;

    BizCodeEnume(Integer code, String message) {
        this.message = message;
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
